projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ca08c
)
Use gtk_info_bar_add_child throughout
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 7 May 2020 16:52:49 +0000
(12:52 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 12 May 2020 02:21:39 +0000
(22:21 -0400)
tests/testinfobar.c
patch
|
blob
|
history
diff --git
a/tests/testinfobar.c
b/tests/testinfobar.c
index 9145aba9c261dd51bd43839d721397093386f7e6..ee7ab749fb44d0be85ff99fedefd15ec448ee2ad 100644
(file)
--- a/
tests/testinfobar.c
+++ b/
tests/testinfobar.c
@@
-35,8
+35,8
@@
on_activate (GApplication *application,
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
info_bar = gtk_info_bar_new ();
- gtk_
container_add (GTK_CONTAINE
R (info_bar),
- gtk_label_new ("Hello!\nI am a GtkInfoBar"));
+ gtk_
info_bar_add_child (GTK_INFO_BA
R (info_bar),
+
gtk_label_new ("Hello!\nI am a GtkInfoBar"));
widget = gtk_toggle_button_new_with_label ("Toggle :visible");
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);